package com.example.xd.javatest.thread_test;

import java.util.concurrent.Callable;

/**
 * @auther XuDan on 2020/6/15.
 * 实现Callable接口,重写call方法
 */
public class CallableImpl implements Callable {
    @Override
    public String call() throws Exception {
        System.out.println("我是实现Callable接口---");
        return "callable 结果";
    }
}
